home *** CD-ROM | disk | FTP | other *** search
/ Ham Radio 2000 #2 / Ham Radio 2000 - Volume 2.iso / HAMV2 / TCP_IP / HAGEMAN / README.TXT < prev    next >
Encoding:
Text File  |  1997-08-17  |  13.6 KB  |  293 lines

  1. Readme.txt ----- Hagtronics Network Analyzer Operating Instructions
  2.  
  3.  
  4. NOTE: Trouble shooting information is at the end of this file.
  5.  
  6.  
  7. Installing:
  8. ~~~~~~~~~~~~
  9. Due to many versions of "Windows (tm)" out in the world at the
  10. present, and the difficulty I had trying to get Visual Basic's(tm)
  11. install program to work across all platforms. I decided to go
  12. to a manual install procedure. Please forgive me! {:-(
  13.  
  14.     Zip File Instructions: If you recieved the files as a file 
  15.     called analyzer.zip, copy the file to a floppy disk then
  16.     unzip it using the command line "pkunzip -d analyzer".
  17.     Note: The '-d' is very important to keep the directories straight.
  18.  
  19.     This will extract the proper files in the proper directories. 
  20.     Then follow the procedure below. This assumes that you have
  21.     PKUNZIP on your system path somewhere. If you do not have
  22.     PKUNZIP, see the ARRL BBS or web site at www.arrl.org.
  23.  
  24.  
  25. Backup Procedure:
  26. ~~~~~~~~~~~~~~~~~
  27.  
  28.     Note: Generally this series of steps should never be required
  29.     but just to be extra safe, you may wish to back up the
  30.     following list of files from the c:\windows\system directory
  31.     before proceeding with the install. By backing up these files
  32.     you are assured that if anything goes wrong after the Analyzer
  33.     install, that you can safely recover.
  34.  
  35.     The files that Analyzer needs to put in the C:\Windows\System
  36.     directory are:
  37.  
  38.                 ANIBUTON.VBX
  39.                 LEDDISP.VBX
  40.                 MSCOMM.VBX
  41.                 MSMASKED.VBX
  42.                 SPIN.VBX
  43.                 THREED.VBX
  44.                 VBINI.VBX    
  45.                 VBRUN300.DLL (This file may not be visable on WIN95
  46.                 Select View->Options->View and make all files Visable to see it)
  47.  
  48.         If your system does not contain one or more of these files
  49.         before the install, don't worry. Just back up the ones that
  50.         you have to a floppy.
  51.  
  52.  
  53. Install Procedure:
  54. ~~~~~~~~~~~~~~~~~~
  55.     Note: If you get an overwrite warning message during any of 
  56.     the copy commands that you are about to do, please ONLY 
  57.     OVERWRITE files where the "Replace With" file from the 
  58.     floppy is newer than the file on your hard disk.
  59.  
  60.     Note: Under NT4.0 or Win95 set the options -> view menu to 
  61.     "Show All Files", you can restore the setting after you are
  62.     done installing the program. Otherwise you may not copy the
  63.     file a:\system\vbrun300.dll to c:\windows\system.
  64.  
  65.     
  66.        1) Make a directory on your hard disk called Analyzer. This is
  67.        where the program will be installed.
  68.  
  69.        2) Open the Analyzer folder on the install floppy and copy
  70.        the contents to the analyzer directory you just created.
  71.  
  72.        3) Open the windows folder on the install floppy and copy those files to
  73.        the proper windows folder on your hard disk.
  74.  
  75.        4) open the system folder on the floppy and copy those files
  76.        to your Windows/System directory on your hard disk.
  77.  
  78.        5) You may wish to make a folder or program group with the 
  79.        Analyzer.exe file to make running the program easier in the
  80.        future.
  81.  
  82.  
  83. Running The Set_Port Utility
  84. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  85. A utility has been included to help you configure the Network Analyzer    
  86. on your computer. Attach the analyzer to the RS232 port that you wish to
  87. use. Make sure that the Network Analyzer is ON. Run Set_Port from the 
  88. copy on your hard drive (c:\Analyzer directory). The first step this
  89. program does is find all valid RS232 ports that it can. A list is 
  90. displayed, and you are given an option of trying to setup the Network
  91. Analyzer automatically or quitting. Select Setup, the program then tries
  92. to open all the valid ports it found in the first step and locate the
  93. Analyzer by writing commands to it and looking for the proper response.
  94. If the Analyzer is found, the program then tries to open the file 
  95. Analyzer.ini, this file must be located in your Windows directory (see
  96. install instructions above). If the Analyzer.ini file is opened properly
  97. the line "Com_port =" is set to the port the network analyzer was just
  98. found on. 
  99.  
  100. If all was sucessful (read the messages provided by Set_Port) the Analyzer
  101. is now properly configured to run.
  102.  
  103. Note: Since this program opens RS232 Ports and writes information to them, there
  104. is a slight chance that another device connected to a port may be initilized
  105. improperly and may not function as intended later. Any problems may be fixed by 
  106. restarting your computer. Any problems caused by the Set_Port problem will
  107. not happen with the Analyzer program, as program only looks at the Com port
  108. it was configured for (from the file \Windows\Analyzer.ini).
  109.  
  110.  
  111. Manually Setting The Network Analyzer Port
  112. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  113. Note: This is how to edit the Analyzer.ini file manually, use the procedure
  114. above (set_port) unless there is some real need to manually edit the ini file.
  115.  
  116. The default COM port is COM 1, if your hardware is not connected to COM 1
  117. then you may edit the Analyzer.ini file manually to set the proper COM 
  118. port. Run the notepad, open the Analyzer.ini file in the windows
  119. directory and look for the Com_Port = line, then set the number after
  120. the equals sign to the proper COM port for your computer. Save the file
  121. and exit notepad. After this is done, restart Analyzer.exe and try to do a
  122. sweep again.
  123.  
  124.  
  125. Running Analyzer.exe
  126. ~~~~~~~~~~~~~~~~~~~~
  127. Run Analyzer.exe, the initial screen shows a black background with the
  128. build information displayed.
  129.  
  130. No graph is displayed until a sweep is done.
  131.  
  132. The various menu commands are described below,
  133.  
  134.  
  135. Main Form Menu Commands
  136. =======================
  137.      File - This menu allows you to,
  138.  
  139.           Print - Print the current graph screen
  140.  
  141.           Exit - Exit the Analyzer program
  142.  
  143.      Sweep - Select this item to start a frequency sweep
  144.              (More about sweeps below)
  145.  
  146.      Manual Mode - This brings up an interactive screen for single
  147.                    frequency operation of the Network analyzer.
  148.  
  149.      Cursor - After a sweep is done this command enables and places
  150.               cursors on the screen. The red cursor is moved by pressing
  151.               the left and right arrow keys (Actually pressing AND releasing
  152.               the key moves the selected cursor).
  153.               The green cursor is moved by holding the shift key and pressing
  154.               the left or right arrow keys.
  155.               The cursor information is displayed in a window at the lower
  156.               right corner of the screen. This screen may be moved by dragging it
  157.               to a different location.
  158.  
  159.               The cursor window displays the frequency and amplitude data for the
  160.               red (R), green (G) and delta between red and green (D) cursors.
  161.               Turn cursors off by selecting the cursor command again.
  162.  
  163.      View - After a sweep is done this command enables and allows the following
  164.             things to be done,
  165.             
  166.      Area - Zooms to a area of the graph, Select this command, position
  167.             the mouse at the upper leftcorner of the area to be viewed.
  168.             hold down the left mouse button and drag the mouse to the 
  169.             lower right of the area to be viewed. When the bounding box
  170.             covers the proper area, release the mouse button. The display
  171.             now will zoom into the selected area.
  172.  
  173.      Fit - This undoes a 'view area' and fits all the data to the whole 
  174.            screen again.    
  175.  
  176.      Refresh - This redraws the current screen. Useful if some other 
  177.                program trashes the display memory.
  178.  
  179.      About - This displays an about box for the Analyzer program.
  180.  
  181.  
  182. Sweep Mode
  183. ==========
  184.      When this menu item is selected, another window pops up for setting the
  185.      sweep parameters.
  186.  
  187.      Set the desired start and stop frequencies and number of points to for the 
  188.      sweep.        
  189.  
  190.      Pushing the "Setup" button will bring up a setup screen that allows the 
  191.      probe attenuation factors to be set. This screen also allows the maximum and
  192.      minimum source to be set for the sweep. Press "OK" when done here.
  193.  
  194.      Back at the "Sweep Setup" screen press "Start Sweep" button when the 
  195.      sweep parameters have been set.
  196.  
  197.      The sweep now starts, the black LCD window displays the sweep progress.
  198.  
  199.      At any time during the sweep, the "Stop Sweep" button may be pressed to
  200.      stop the sweep (This is useful if you notice bad data during a long sweep). To 
  201.      restart the sweep select the sweep menu item again.
  202.  
  203.      When the sweep ends the setup screen closes automatically and a graph of the 
  204.      data is displayed. The View and Cursor menu items are now active.
  205.  
  206.  
  207. Manual Mode
  208. ===========
  209.      Picking the manual menu item allows complete manual control of the hardware.
  210.      A single frequency may be set by clicking on the spin buttons. When the
  211.      frequency is changed, the frequency display turns red. A red indication shows  
  212.      that the
  213.      hardware has not been updated to the new frequency yet. To update the           
  214.      hardware, press the Set rocker switch. Doing so will send the proper code to
  215.      the hardware, setting the frequency. The display will turn black again to 
  216.      signify that the frequency is current.
  217.  
  218.      The source amplitude may be set at any time. The source attenuator is updated
  219.      as soon as an option button is selected.
  220.  
  221.      The receiver settings may be altered for X1 or X10 probes and auto scaling
  222.      or manual setting of the receiver attenuators. By turing off the Autoscale On 
  223.      check box the receiver attenuators will be settable by you. You may set the 
  224.      attenuators on or off as desired. Setting Autoscale ON will re-enable automatic
  225.      selection of the receiver attenuators. 
  226.  
  227.      Leaving the autoscale on is the recommended setting. Use the manual settings
  228.      for calibration or troubleshooting.
  229.  
  230.      The output window is updated every second as the A/D's are read. The results
  231.      are displayed for each channel and the dB ratio of both channels is also shown.
  232.  
  233.  
  234. Troubleshooting
  235. ===============
  236.  
  237.      If windows is not in the directory C:\Windows, you may need to copy the
  238.      file "Analyzer.ini" manually. This is done by copying "Analyzer.ini" file from 
  239.      the floppy disk to the directory where windows is installed on your computer.
  240.  
  241.      The program may appear to hang for up to 30 seconds or so when the Sweep or 
  242.      Manual
  243.      menu items are selected and the hardware is not responding. Wait for the error
  244.      message. Then determine the cause of the error,
  245.  
  246.           * The hardware is not plugged into the computers COM port or is not turned
  247.       ON.
  248.  
  249.           * FYI: If the network analyzer is talking to the PC the red "Data" LED will
  250.           be blinking as measurement results are sent back to the PC.  
  251.  
  252.           * If you get an error that the Analyzer.ini file is missing or corrupt, 
  253.           copy the file from the master disk to the windows directory, and run the
  254.           Set_Port program again (with the analyzer connected and ON). 
  255.           This should solve the error.
  256.  
  257.           * If you can't resolve the problem, end the program.
  258.           Unplug the Analyzer from the RS232 port and turn it off
  259.           for 15 seconds. Then turn the analyzer ON and reconnect it to the RS232 port.
  260.           Try and run the Set_Port program again to be sure that the network analyzer 
  261.           is running properly. If the problem persists, restart your computer and reset
  262.           the analyzer by unplugging it and cycling power as above.
  263.  
  264.           * If you continually get errors, you may need to change the RS232 delay. This
  265.           parameter is in the Analyzer.ini file. Increasing the delay tells the program
  266.           to wait for more time before trying to read the data back from the RS232 port.
  267.           You may need to set this parameter on very slow computers, i.e. < 486 DX models.
  268.           Also computers that use 8250 UART's may need the delay adjusted. If you have
  269.           no RS232 problems leave the delay at 0 for maximum performance.
  270.           Don't go overboard with this number, as it will slow down the operation of the
  271.           program during sweeps. You won't notice any delay during manual operation. On
  272.           Pentium computers this parameter has not been needed, so look for the error 
  273.           elsewhere (i.e. like the RS232 wiring). Start by setting the delay to 1, this 
  274.           enables the delay function and allows the computer time to service the RS232 port.
  275.           Increase RS232 delay in 1 mS increments (steps of 1), until the problem goes away.
  276.           Note: Always lok for all other problems first, no computers to date have needed
  277.           any more delay that 1mS.
  278.  
  279.           * I have noticed a few SVGA modes on some display boards that fail to display the
  280.           grid completely (i.e. the graph border is not present). If this happens switch to
  281.           640x480 mode. Also printing may be better with 640x480 mode. Different resolutions 
  282.           may crop the graph when printed depending on the printer/display resolution 
  283.           selected.
  284.  
  285.           * Printing: Printing is done by doing a screen dump to the printer. In higher
  286.           resolution modes the graph may be chopped off. This is caused by more Pixels
  287.           being on the screen, and the printer driver cutting some off. A general cure
  288.           is to run in 640x480 mode. I have not found a printer that would not work in
  289.           this mode (yet!). Likewise, if the printer plot is too small, you might try
  290.           to run at higher than 640x480 resolution to put more pixels on the screen.
  291.  
  292. ----- END -----
  293.